import { StyleSheet, Text, View } from 'react-native';

export default function App() {
  return (
    <View style={styles.container}>
      <Text style={styles.text}>样式1</Text>
      <Text style={styles.text}>样式2</Text>
      <Text style={styles.text}>样式3</Text>
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    backgroundColor: 'yellow',
    padding: 10,
    flexDirection: 'column', // 主轴方向

  },
  text: {
    color: 'blue',
    fontSize: 30,
  },
});
